package com.atguigu01._this;

public class Test {
    public String name;
    int age;
    public Test(){

    }

    public Test(String name){
        this();//代表的是上面的那个空参构造器
        this.name=name;
    }

    public Test(String name,int age){
        this(name);//代表的是上面的那个构造器
        this.name=name;
        this.age=age;
    }
}
